package com.coocaa.ops.admin.v1.policygroup.model;

import com.coocaa.ops.common.core.biz.policygroup.entity.PolicyGroupInfoEntity;
import com.coocaa.ops.common.tool.base.InstanceUtil;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author bijiahao
 * @description
 * @date 2020/3/13 16:14
 */
@Data
public class CheckModelChipDataModel implements Serializable {
    private String modelChip;

    private List<PolicyGroupInfoEntity> rlsPolicyGroupList;

    public CheckModelChipDataModel(String modelChip, List<PolicyGroupInfoEntity> rlsPolicyGroupList) {
        this.modelChip = modelChip;
        this.rlsPolicyGroupList = rlsPolicyGroupList;
    }

    public CheckModelChipDataModel(String modelChip) {
        this.modelChip = modelChip;
        this.rlsPolicyGroupList = InstanceUtil.newArrayList(0);
    }
}
